|
Menü konumu |
---|
Taslak → Taşı |
Tezgahlar |
Taslak, Yapı |
Varsayılan kısayol |
M V |
Versiyonda tanıtıldı |
0.7 |
Ayrıca bkz |
Dizi, Yol dizisi |
Taşı aracı, seçilen nesneleri bir noktadan diğerine taşır veya kopyalar.
Taşı aracı, Taslak tezgahı veya Eskiz tezgahı ile oluşturulan 2D şekillerde kullanılabilir, ancak Parça tezgahı ve Yapı tezgahı ile oluşturulanlar gibi birçok 3D nesne üzerinde de kullanılabilir.
Bir nesneyi bir noktadan diğer bir noktaya taşıma
See also: Draft Snap and Draft Constrain.
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts (for version 1.0).
See also: Preferences Editor and Draft Preferences.
Ayrıca bkz.: Taslak API ve FreeCAD Betik esasları.
moved_list = move(objectslist, vector, copy=False)
objectslist
içindeki nesnelerin temel noktasını vector
ile gösterilen yer değiştirme ve yönlere göre hareket ettirir.
objectslist
, tek bir nesne veya bir nesne listesidir. : Yer değiştirme vektörü, nesnenin temel noktasına göredir, yani bir nesne 2 birim ve sonra başka bir 2 birim hareket ettirilirse, toplamda 4 birim orijinal konumundan hareket etmiş olur. copy
ise True
ise orijinal nesneleri taşımak yerine kopyalar oluşturulur. movedlist
, orijinal taşınan nesnelerle veya yeni kopyalarla birlikte döndürülür. ** movedlist
, objectslist
girişine bağlı olarak tek bir nesne veya nesne listesidir.Örnek:
import FreeCAD as App
import Draft
doc = App.newDocument()
polygon1 = Draft.make_polygon(5, radius=1000)
polygon2 = Draft.make_polygon(3, radius=500)
polygon3 = Draft.make_polygon(6, radius=220)
Draft.move(polygon1, App.Vector(500, 500, 0))
Draft.move(polygon1, App.Vector(500, 500, 0))
Draft.move(polygon2, App.Vector(1000, -1000, 0))
Draft.move(polygon3, App.Vector(-500, -500, 0))
list1 = [polygon1, polygon2, polygon3]
vector = App.Vector(-2000, -2000, 0)
list2 = Draft.move(list1, vector, copy=True)
list3 = Draft.move(list1, -2*vector, copy=True)
doc.recompute()